﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Đăng nhập</title>
    <link href="css/bootstrap.css" rel="stylesheet" />
    <style type="text/css">
        body {
            background-image: url(Images/bg-login.jpg);
        }
    </style>
</head>

<body>
    <form id="form1" runat="server">
        <div class="container">
            <div id="loginbox" style="margin-top: 50px;" class="col-md-5 col-md-offset-3 col-sm-offset-2">
                <div class="panel panel-info">
                    <div class="panel-heading">
                        <div class="panel-title">Đăng Nhập</div>
                        <div style="float: right; font-size: 80%; position: relative; top: -10px"><a href="#">Quên mật khẩu?</a></div>
                    </div>

                    <div style="padding-top: 15px" class="panel-body">                       
                        <div style="color:red;padding-left:40px;padding-bottom:20px;" class="input-group">
                          <asp:Label ID="lblError" runat="server" Text="" Visible="false"></asp:Label>
                        </div>

                        <div style="margin-bottom: 25px" class="input-group">
                            <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>

                            <asp:TextBox ID="txtUser" runat="server" CssClass="form-control" type="email" placeholder="Email hoặc tên đăng nhập"></asp:TextBox>
                        </div>
                        <div style="margin-bottom: 25px" class="input-group">
                            <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
                            <asp:TextBox ID="txtPass" runat="server" TextMode="Password" CssClass="form-control" placeholder="Mật khẩu"></asp:TextBox>
                        </div>
                        <div style="margin-left: 40px;margin-bottom: 5px; top: 0; left: 0;" class="input-group">
                        <asp:CheckBox ID="chkNhoMK" runat="server" Text="  Ghi nhớ đăng nhập" />
                        <p class="">
                            Chưa có tài khoản,<asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/SignUp.aspx" ForeColor="Blue">đăng ký</asp:HyperLink>
                        </p>
                    </div>

                        <div  class="form-group">
                            <div class="col-md-12 controls">
                                <div class="col-md-6 col-xs-6">
                                    <asp:Button ID="btnLogin" runat="server" Text="Đăng Nhập" CssClass="btn btn-success btn-block" OnClick="btnLogin_Click1" />
                                </div>

                                <div class="col-md-6 col-xs-6">
                                    <asp:HyperLink ID="btnHuyBo" runat="server" CssClass="btn btn-primary btn-block">Hủy Bỏ</asp:HyperLink>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>

    <script src="Scripts/jquery-1.11.0.js"></script>
    <script src="Scripts/bootstrap.js"></script>
</body>
</html>
